<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/index.css">
  <title>Document</title>
</head>

<body>
  <!-- 顶部header -->
  <header>
    <h1><a href="/">
        <img src="./images/header_logo.png" alt="">
      </a></h1>
    <a href="javascript:;">
      <img src="./images/header_app.png" alt="">
    </a>
  </header>
  <!--  搜索 -->
  <section class="mmb_search">
    <form action="#">
      <input class="search_ipt" type="search" placeholder="请输入你想比价的商品">
      <input class="search_btn" type="button" value="搜索">
    </form>
  </section>
  <!-- 导航 -->
  <nav class="mmb_nav">
    <!-- nav_tmp模板占坑 -->


  </nav>

  <!-- 商品列表 -->

  <!-- footer底部 -->

  <script src="./lib/zepto/dist/zepto.js"></script>
  <script src="./lib/art-template/template-web.js"></script>
  <script src="./js/index.js"></script>
</body>

</html>

<script type="text/template" id="nav_tmp">
  {{each result as val key}}
    <li>
      <a href="views/{{val.titlehref}}">
        {{@ val.img}}
        <span>{{val.name}}</span>
      </a>
    </li>
  {{/each}}
</script>